﻿using AnlianCommon.Common.Domains.BankCustomers;
using AnlianCommon.Common.DTO;
using MediatR;

namespace SheepCommon.API.SheepPurchases
{
    public class SheepPurchaseSreachCommand : IRequest<ResultPage<SheepPurchaseDTO>>
    {
        /// <summary>
        /// 采购日期
        /// </summary>
        public DateTime? PurchaseTime { get; set; }
        /// <summary>
        /// 采购员
        /// </summary>
        public string? PurchaseName { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int? SheepType { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? PrchaseNumber { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string? WareHouse { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
